package com.tuocent.dagv2.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serial;
import java.io.Serializable;
import java.util.List;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * <p>
 * 档案分类
 * </p>
 *
 * @author Vincent
 * @since 2025-07-31
 */
@Getter
@Setter
@ToString
@TableName("db_archives_class")
public class ArchivesClass implements Serializable {


    @Serial
    private static final long serialVersionUID = -3692842143512993245L;
    private String id;

    private String pid;

    private String tid;

    /**
     * 上级ID
     */
    private String parentId;

    /**
     * 门类ID
     */
    private String classifyId;

    /**
     * 划控部门ID
     */
    private String departmentId;

    /**
     * 划控部门
     */
    private String department;

    /**
     * 分类号
     */
    private String code;

    /**
     * 分类名称
     */
    private String name;

    /**
     * 间隔
     */
    private String doc;

    /**
     * 级别
     */
    private Integer classCode;

    /**
     * 上级编号
     */
    private String pcode;

    /**
     * 全编号
     */
    private String fullCode;

    /**
     * 档号格式ID
     */
    private String codeFormatid;

    /**
     * 档号格式
     */
    private String codeFormat;

    /**
     * 描述
     */
    private String remark;

    /**
     * 系统
     */
    private String isSys;

    /**
     * 顺序号
     */
    private Integer idx;

    private String isDel;

    @TableField(exist = false)
    private String classifyName;

    @TableField(exist = false)
    private String fillingModel;

    @TableField(exist = false)
    private List<ArchivesClass> children;
}
